import Vue from 'vue'
import Router from 'vue-router'


import Me from '../views/Me'
import NoData from '../views/NoData.vue'
import Home from '../views/Home.vue'
import Cinema from '../views/Cinema.vue'
import CinemaDetail from '../views/CinemaDetail' 


Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path:'/me',
      component:Me
    },
    {
      path:'/no',
      component:NoData
    },
    {
      path:'/cinema', 
      component : Cinema
    },
    {
      path:'/cinema/detail/4379',
      component:CinemaDetail
    },
 
    
  ]
})
